package com.rgs;

import com.rgs.component.MyBeanNameComponent;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

/**
 * Hello world!
 *
 */
@SpringBootApplication
@ComponentScan(nameGenerator = MyBeanNameComponent.class)
public class App 
{

    public static void main(String[] args )
    {
        SpringApplication.run(App.class, args);
        System.out.println("App is running");
    }
}
